package com.sskj.b70.m.bean;

import com.google.gson.annotations.SerializedName;
import com.sskj.b70.utils.TimeFormatUtil;

import java.util.Date;

/**
 * Created by lv on 18-6-12.
 */

public class CommissionBean {

    /**
     * username_down : 张三
     * fee : 56.3560
     * fee_yongjin : 5.6356
     * status : 0
     * add_time : 1530619320
     */
    @SerializedName(value = "username_down", alternate = {"username"})
    private String username_down;
    @SerializedName(value = "fee", alternate = {"usdFee"})
    private String fee;
    @SerializedName(value = "mobile", alternate = {"account"})
    private String mobile;
    @SerializedName(value = "fee_yongjin", alternate = {"userReturnFee"})
    private String fee_yongjin;
    private String status;
    @SerializedName(value = "add_time", alternate = {"createTime"})
    private String add_time;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUsername_down() {
        return username_down;
    }

    public void setUsername_down(String username_down) {
        this.username_down = username_down;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getFee_yongjin() {
        return fee_yongjin;
    }

    public void setFee_yongjin(String fee_yongjin) {
        this.fee_yongjin = fee_yongjin;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAdd_time() {
//        return TimeFormatUtil.SF_FORMAT_B.format(new Date(Long.valueOf(add_time) * 1000));
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }
}
